package com.fishbone.mybatisplus.enums;

/**
 * @author Administrator
 */

public enum StatusEnum implements IBaseEnum<Integer> {
    NORMAL(1,"正常"),
    LOCK(2,"锁定"),
    PAST(3,"过期");

    private Integer status;
    private String desc;

    StatusEnum(Integer status,String desc ){
        this.status = status;
        this.desc = desc;
    }

    @Override
    public String getDescription() {
        return desc;
    }

    @Override
    public Integer getValue() {
        return status;
    }
}
